package rsj.util;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * 公用的远程调用请求体
 *
 * @author yuanqinglong
 * @since 2020/12/22 16:52
 */
@Data
@AllArgsConstructor
public class PublicRequestBody {

    /**
     * 追踪id
     */
    @JSONField(name = "$tid")
    private String tid;
    /**
     * 请求url地址
     */
    @JSONField(name = "$api")
    private String api;
    /**
     * 应用id
     */
    @JSONField(name = "$appid")
    private String appId;
    /**
     * 请求数据
     */
    @JSONField(name = "_data_")
    private Object data;



}
